//
//  QuestionViewController.m
//  ShangChengMoBan
//
//  Created by yaoqi yaoqi on 16/9/1.
//  Copyright © 2016年 ping. All rights reserved.
//

#import "QuestionViewController.h"

@interface QuestionViewController ()

@end

@implementation QuestionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
        [self drawNavWithTitle:@"常见问题" WithColor:[UIColor colorWithHue:0.00 saturation:0.00 brightness:1.00 alpha:1.00]];
        [self drawBackButton];
        self.view.backgroundColor = [UIColor colorWithHue:0.69 saturation:0.02 brightness:0.96 alpha:1.00];
    [self headerView];
    [self footBut];
 }
-(void)headerView{
    UIView * headerView = [[UIView alloc]initWithFrame:CGRectMake(0, 66, KScreenWidth, 50)];
    headerView.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:headerView];
    UIImageView * imageview = [[UIImageView alloc]initWithFrame:CGRectMake(10, 12.5, 25, 25)];
    imageview.image = [UIImage imageNamed:@"疑问问题"];
    [headerView addSubview:imageview];
    UILabel * titleLable = [[UILabel alloc]initWithFrame:CGRectMake(imageview.right+4, 15, KScreenWidth-imageview.right-4, 20)];
    titleLable.text = @"亲,若有疑问可点击底部按钮联系在线客服";
    titleLable.font = [UIFont systemFontOfSize:14];
    titleLable.textColor = [UIColor lightGrayColor];
    [headerView addSubview:titleLable];
}
-(void)footBut{
    UIButton * button = [[UIButton alloc]initWithFrame:CGRectMake(0, KScreenHeight-50, KScreenWidth, 50)];
    button.backgroundColor = [UIColor colorWithHue:0.04 saturation:1.00 brightness:1.00 alpha:1.00];
    [button setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    [button setTitle:@"联系服务助手" forState:UIControlStateNormal];
    [button setImage:[UIImage imageNamed:@"角色、人物"] forState:UIControlStateNormal];
    button.titleLabel.font = [UIFont systemFontOfSize:14];
    [self.view addSubview:button];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
